<?php

class readthis_template_default {
  var $swf;
  var $counter = 0;
  function readthis_template_default () {
    $this->swf = dirname(__FILE__).'/default.swf';
  }
  
  function object(){
    $this->counter++;
    return array(
      'swf' => $this->swf,
      'params' => array(
        'bgcolor' => '#666666',
        'son' => ''
      ),
    );
  }
  function swf() {
    $swf = '';
    $audio = '';
    return '<div style="z-index:-100;">'.
      '<object width="200" height="20" data="'.$swf.'" type="application/x-shockwave-flash">'.
        '<param name="movie" value="'.$swf.'"/>'.
        '<param name="FlashVars" value="bgcolor=#666666&#038;son='.$audio.'"/>' .
        '<param name="wmode" value="transparent" />'.
        '<embed width="200" height="20"'.
          'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" ' .
          'allowscriptaccess="sameDomain" quality="high" wmode="transparent" ' .
          'src="'.$swf.'" FlashVars="bgcolor=#666666&#038;son='.$audio.'" />'.
      '</object>'.
      '</div>';
  }
}

?>
